package com.ruoyi.xiaoshou.mapper;

import com.ruoyi.xiaoshou.domain.SaleOrderDetail;

import java.util.List;

public interface SaleOrderDetailMapper {
    int addOrderDetail(SaleOrderDetail saleOrderDetail);

    List<SaleOrderDetail> getList(int orderId);

    List<SaleOrderDetail> getSaleOrderDetailListByOrderId(int orderId);

    int updDetailStock(SaleOrderDetail saleOrderDetail);

    SaleOrderDetail getSaleOrderDetailByProIdAndOrderId(SaleOrderDetail saleOrderDetail);
}
